﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Collections;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x0200036F RID: 879
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class DailyActiveInfoNotify : IMessage<DailyActiveInfoNotify>, IMessage, IEquatable<DailyActiveInfoNotify>, IDeepCloneable<DailyActiveInfoNotify>, IBufferMessage
	{
		// Token: 0x17000B5E RID: 2910
		// (get) Token: 0x06002771 RID: 10097 RVA: 0x0006E52F File Offset: 0x0006C72F
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<DailyActiveInfoNotify> Parser
		{
			get
			{
				return DailyActiveInfoNotify._parser;
			}
		}

		// Token: 0x17000B5F RID: 2911
		// (get) Token: 0x06002772 RID: 10098 RVA: 0x0006E536 File Offset: 0x0006C736
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return DailyActiveInfoNotifyReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17000B60 RID: 2912
		// (get) Token: 0x06002773 RID: 10099 RVA: 0x0006E548 File Offset: 0x0006C748
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return DailyActiveInfoNotify.Descriptor;
			}
		}

		// Token: 0x06002774 RID: 10100 RVA: 0x0006E54F File Offset: 0x0006C74F
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public DailyActiveInfoNotify()
		{
		}

		// Token: 0x06002775 RID: 10101 RVA: 0x0006E570 File Offset: 0x0006C770
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public DailyActiveInfoNotify(DailyActiveInfoNotify other) : this()
		{
			this.dailyActivePoint_ = other.dailyActivePoint_;
			this.dailyActiveLevelList_ = other.dailyActiveLevelList_.Clone();
			this.dailyActiveQuestIdList_ = other.dailyActiveQuestIdList_.Clone();
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x06002776 RID: 10102 RVA: 0x0006E5C2 File Offset: 0x0006C7C2
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public DailyActiveInfoNotify Clone()
		{
			return new DailyActiveInfoNotify(this);
		}

		// Token: 0x17000B61 RID: 2913
		// (get) Token: 0x06002777 RID: 10103 RVA: 0x0006E5CA File Offset: 0x0006C7CA
		// (set) Token: 0x06002778 RID: 10104 RVA: 0x0006E5D2 File Offset: 0x0006C7D2
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint DailyActivePoint
		{
			get
			{
				return this.dailyActivePoint_;
			}
			set
			{
				this.dailyActivePoint_ = value;
			}
		}

		// Token: 0x17000B62 RID: 2914
		// (get) Token: 0x06002779 RID: 10105 RVA: 0x0006E5DB File Offset: 0x0006C7DB
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RepeatedField<DailyActivityInfo> DailyActiveLevelList
		{
			get
			{
				return this.dailyActiveLevelList_;
			}
		}

		// Token: 0x17000B63 RID: 2915
		// (get) Token: 0x0600277A RID: 10106 RVA: 0x0006E5E3 File Offset: 0x0006C7E3
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RepeatedField<uint> DailyActiveQuestIdList
		{
			get
			{
				return this.dailyActiveQuestIdList_;
			}
		}

		// Token: 0x0600277B RID: 10107 RVA: 0x0006E5EB File Offset: 0x0006C7EB
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as DailyActiveInfoNotify);
		}

		// Token: 0x0600277C RID: 10108 RVA: 0x0006E5FC File Offset: 0x0006C7FC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(DailyActiveInfoNotify other)
		{
			return other != null && (other == this || (this.DailyActivePoint == other.DailyActivePoint && this.dailyActiveLevelList_.Equals(other.dailyActiveLevelList_) && this.dailyActiveQuestIdList_.Equals(other.dailyActiveQuestIdList_) && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x0600277D RID: 10109 RVA: 0x0006E660 File Offset: 0x0006C860
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.DailyActivePoint != 0U)
			{
				num ^= this.DailyActivePoint.GetHashCode();
			}
			num ^= this.dailyActiveLevelList_.GetHashCode();
			num ^= this.dailyActiveQuestIdList_.GetHashCode();
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x0600277E RID: 10110 RVA: 0x0006E6BB File Offset: 0x0006C8BB
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x0600277F RID: 10111 RVA: 0x0006E6C3 File Offset: 0x0006C8C3
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x06002780 RID: 10112 RVA: 0x0006E6CC File Offset: 0x0006C8CC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.DailyActivePoint != 0U)
			{
				output.WriteRawTag(8);
				output.WriteUInt32(this.DailyActivePoint);
			}
			this.dailyActiveQuestIdList_.WriteTo(ref output, DailyActiveInfoNotify._repeated_dailyActiveQuestIdList_codec);
			this.dailyActiveLevelList_.WriteTo(ref output, DailyActiveInfoNotify._repeated_dailyActiveLevelList_codec);
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x06002781 RID: 10113 RVA: 0x0006E72C File Offset: 0x0006C92C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.DailyActivePoint != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.DailyActivePoint);
			}
			num += this.dailyActiveLevelList_.CalculateSize(DailyActiveInfoNotify._repeated_dailyActiveLevelList_codec);
			num += this.dailyActiveQuestIdList_.CalculateSize(DailyActiveInfoNotify._repeated_dailyActiveQuestIdList_codec);
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x06002782 RID: 10114 RVA: 0x0006E790 File Offset: 0x0006C990
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(DailyActiveInfoNotify other)
		{
			if (other == null)
			{
				return;
			}
			if (other.DailyActivePoint != 0U)
			{
				this.DailyActivePoint = other.DailyActivePoint;
			}
			this.dailyActiveLevelList_.Add(other.dailyActiveLevelList_);
			this.dailyActiveQuestIdList_.Add(other.dailyActiveQuestIdList_);
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x06002783 RID: 10115 RVA: 0x0006E7EE File Offset: 0x0006C9EE
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x06002784 RID: 10116 RVA: 0x0006E7F8 File Offset: 0x0006C9F8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num <= 40U)
				{
					if (num == 8U)
					{
						this.DailyActivePoint = input.ReadUInt32();
						continue;
					}
					if (num == 40U)
					{
						goto IL_3E;
					}
				}
				else
				{
					if (num == 42U)
					{
						goto IL_3E;
					}
					if (num == 50U)
					{
						this.dailyActiveLevelList_.AddEntriesFrom(ref input, DailyActiveInfoNotify._repeated_dailyActiveLevelList_codec);
						continue;
					}
				}
				this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
				continue;
				IL_3E:
				this.dailyActiveQuestIdList_.AddEntriesFrom(ref input, DailyActiveInfoNotify._repeated_dailyActiveQuestIdList_codec);
			}
		}

		// Token: 0x04000FC6 RID: 4038
		private static readonly MessageParser<DailyActiveInfoNotify> _parser = new MessageParser<DailyActiveInfoNotify>(() => new DailyActiveInfoNotify());

		// Token: 0x04000FC7 RID: 4039
		private UnknownFieldSet _unknownFields;

		// Token: 0x04000FC8 RID: 4040
		public const int DailyActivePointFieldNumber = 1;

		// Token: 0x04000FC9 RID: 4041
		private uint dailyActivePoint_;

		// Token: 0x04000FCA RID: 4042
		public const int DailyActiveLevelListFieldNumber = 6;

		// Token: 0x04000FCB RID: 4043
		private static readonly FieldCodec<DailyActivityInfo> _repeated_dailyActiveLevelList_codec = FieldCodec.ForMessage<DailyActivityInfo>(50U, DailyActivityInfo.Parser);

		// Token: 0x04000FCC RID: 4044
		private readonly RepeatedField<DailyActivityInfo> dailyActiveLevelList_ = new RepeatedField<DailyActivityInfo>();

		// Token: 0x04000FCD RID: 4045
		public const int DailyActiveQuestIdListFieldNumber = 5;

		// Token: 0x04000FCE RID: 4046
		private static readonly FieldCodec<uint> _repeated_dailyActiveQuestIdList_codec = FieldCodec.ForUInt32(42U);

		// Token: 0x04000FCF RID: 4047
		private readonly RepeatedField<uint> dailyActiveQuestIdList_ = new RepeatedField<uint>();
	}
}
